<?php
namespace app\api\controller\fumin;

class Orderquery extends Base {
    public function index() {
        return $this->fetch();
    }
    
    // 订单查询接口
    public function query() {
        $data = input('post.');
        $data['mchntId'] =  $this->C('merchantId');
        $data['signature'] = $this->createSign($data);//创建签名
        $result = $this->curl($this->C('orderQueryUrl'), $data);
        return $result;
    }
}
